\name{setWorkingDirectory}
\alias{setWorkingDirectory}
\title{Set the working directory...}
\usage{setWorkingDirectory(file)}
\description{Set the working directory}
\details{A save way to set the working directory, the file argument can be both a regular file or a directory.
If the argument is a regular file the working directory will be set to the directory containing the file.
Any failure to set the working directory will be logged.}
\value{A character string specifying the new working directory.}
\author{Bastian R Angermann}
\arguments{\item{file}{A character string specifying the new working directory. See Details.}}
